3.122 \(\int \frac {x (b+2 c x^2)}{b x^2+c x^4} \, dx\)

Optimal. Leaf size=16 \[ \frac {1}{2} \log \left (b x^2+c x^4\right ) \]

[Out]

1/2*ln(c*x^4+b*x^2)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 15, normalized size of antiderivative = 0.94, number of steps used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {1584, 446, 72} \[ \frac {1}{2} \log \left (b+c x^2\right )+\log (x) \]

Antiderivative was successfully verified.

[In]

Int[(x*(b + 2*c*x^2))/(b*x^2 + c*x^4),x]

[Out]

Log[x] + Log[b + c*x^2]/2

Rule 72

Int[((e_.) + (f_.)*(x_))^(p_.)/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Int[ExpandIntegrand[(
e + f*x)^p/((a + b*x)*(c + d*x)), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && IntegerQ[p]

Rule 446

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] &&
 NeQ[b*c - a*d, 0] && IntegerQ[Simplify[(m + 1)/n]]

Rule 1584

Int[(u_.)*(x_)^(m_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(m + n*p)*(a + b*x^(q -
 p))^n, x] /; FreeQ[{a, b, m, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rubi steps

\begin {align*} \int \frac {x \left (b+2 c x^2\right )}{b x^2+c x^4} \, dx &=\int \frac {b+2 c x^2}{x \left (b+c x^2\right )} \, dx\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {b+2 c x}{x (b+c x)} \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (\frac {1}{x}+\frac {c}{b+c x}\right ) \, dx,x,x^2\right )\\ &=\log (x)+\frac {1}{2} \log \left (b+c x^2\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 15, normalized size = 0.94 \[ \frac {1}{2} \log \left (b+c x^2\right )+\log (x) \]

Antiderivative was successfully verified.

[In]

Integrate[(x*(b + 2*c*x^2))/(b*x^2 + c*x^4),x]

[Out]

Log[x] + Log[b + c*x^2]/2

________________________________________________________________________________________

fricas [A]  time = 0.84, size = 13, normalized size = 0.81 \[ \frac {1}{2} \, \log \left (c x^{2} + b\right ) + \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(2*c*x^2+b)/(c*x^4+b*x^2),x, algorithm="fricas")

[Out]

1/2*log(c*x^2 + b) + log(x)

________________________________________________________________________________________

giac [A]  time = 0.49, size = 15, normalized size = 0.94 \[ \frac {1}{2} \, \log \left ({\left | c x^{4} + b x^{2} \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(2*c*x^2+b)/(c*x^4+b*x^2),x, algorithm="giac")

[Out]

1/2*log(abs(c*x^4 + b*x^2))

________________________________________________________________________________________

maple [A]  time = 0.01, size = 14, normalized size = 0.88 \[ \ln \relax (x )+\frac {\ln \left (c \,x^{2}+b \right )}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(2*c*x^2+b)/(c*x^4+b*x^2),x)

[Out]

ln(x)+1/2*ln(c*x^2+b)

________________________________________________________________________________________

maxima [A]  time = 0.43, size = 17, normalized size = 1.06 \[ \frac {1}{2} \, \log \left (c x^{2} + b\right ) + \frac {1}{2} \, \log \left (x^{2}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(2*c*x^2+b)/(c*x^4+b*x^2),x, algorithm="maxima")

[Out]

1/2*log(c*x^2 + b) + 1/2*log(x^2)

________________________________________________________________________________________

mupad [B]  time = 0.06, size = 13, normalized size = 0.81 \[ \frac {\ln \left (c\,x^2+b\right )}{2}+\ln \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*(b + 2*c*x^2))/(b*x^2 + c*x^4),x)

[Out]

log(b + c*x^2)/2 + log(x)

________________________________________________________________________________________

sympy [A]  time = 0.19, size = 12, normalized size = 0.75 \[ \log {\relax (x )} + \frac {\log {\left (\frac {b}{c} + x^{2} \right )}}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(2*c*x**2+b)/(c*x**4+b*x**2),x)

[Out]

log(x) + log(b/c + x**2)/2

________________________________________________________________________________________